﻿using System;

namespace Lombiq.Tests.UI.Helpers;

public static class RemoteTestHelper
{
    public static bool RunIsForProduction =>
        Environment.GetEnvironmentVariable("GITHUB_REPOSITORY")?.ContainsOrdinalIgnoreCase("swap") == true ||
        Environment.GetEnvironmentVariable("GITHUB_EVENT_NAME")?.ContainsOrdinalIgnoreCase("schedule") == true;
}
